import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入全局样式
import "@/assets/global.css"
//axios
import axios from "axios"
axios.defaults.baseURL = "http://localhost:3000/api/"
Vue.prototype.$http = axios
//echarts
import * as echarts from "echarts"
Vue.prototype.$echarts = echarts
// flexible
import "./assets/flexible"

// 引入主题文件 注意一定在是引入echarts后面
import "../public/static/theme/vintage.js"
// import "../public/static/theme/chalk.js"


// 引入iconfont.css
import "@/assets/font/iconfont.css"
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
